package com.nnnu.orange.pojo.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

@Data
public class ReservationsUpdateDto {
    @NotNull(message = "预约 ID 不能为空")
    private Integer reservationId;

    @NotNull(message = "状态不能为空")
    @Range(min = 0, max = 4, message = "状态只能是 0 到 4 的数字")
    private Integer status;

    private String remark; // 审核说明，仅拒绝时必填
}

